﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="/Scripts/jquery.min.js"></script>
    <script src="/Style/js/WebEditor.js"></script>
</head>
<body>
    <form id="ff" name="ff">
        <div id="Title1"></div>
        <div id="DateTimes1"></div>
        <input id="Title" name="Title" style="width: 100%;" type="text" />
        <textarea id="Content" name="Content" style="width: 99%; height: 240px;"></textarea>
        <div id="word_count"></div>
        <!--
            <script src="/Ker/kindeditor-min.js"></script>
            <textarea id="content" name="content" cols="100" rows="8" style="width:700px;height:300px;"></textarea>
            <script type="text/javascript">
                var editor;
                KindEditor.ready(function (K) {
                    editor = K.create('textarea[name="content"]', {
                        allowFileManager: true
                    });
                });
            </script>
        -->
    </form>
    <script type="text/javascript">
        $(function () {
            $.ajax({
                url: '/Ashx/Acc/Staff/NewsAdminInfoView.ashx?id=3&rnd=' + Math.random(),
                data: '',
                method: 'POST',
                success: function (result) {
                    var json = window.xbase.json(result);
                    $('#ff').form('load', window.xbase.json(result));
                    /// $('#Title').html(json.Title);
                    /// $('#Content').html(json.Content);
                    /// $('#DateTimes').html(window.xbase.FormatDateTime(json.DateTimes));
                },
            });
        });
    </script>
    <!--script type="text/javascript" src="/style/js/webeditor.js"></script-->
</body>
</html>
